package com.shylock.as.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shylock.as.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * @description：
 * @author: Shylock
 * @time：2021/10/15 21:53
 */
public interface UserDao extends BaseMapper<User> {
    @Update("UPDATE t_user set password = #{password} where phone = #{phone}")
    int updatePass(@Param("password") String password,@Param("phone") String phone);
}
